package com.zc.common.validator.config;

import com.zc.common.validator.ValidatorAspect;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;

/**
 * controller的验证起自动装载器
 * <p>Description : </p>
 *
 * @author : xuhongcao
 * @version : v1.0.0
 * @since : 11/4/2022
 **/
@Configurable
public class ValidatorAutoConfiguration {


    @Bean
    public ValidatorAspect  buildValidatorAspect(){
        return new ValidatorAspect();
    }
}
